<%@ Page Language="vb" AutoEventWireup="false" Codebehind="menu.aspx.vb" Inherits="ccapps.Web.page.menu"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<HTML>
  <HEAD>

<script type="text/javascript" src="jquery.min.js"></script>

<script type="text/javascript" src="ddaccordion.js"></script>

<script type="text/javascript">


ddaccordion.init({ //top level headers initialization
	headerclass: "expandable", //Shared CSS class name of headers group that are expandable
	contentclass: "categoryitems", //Shared CSS class name of contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["", "openheader"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["prefix", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})

ddaccordion.init({ //Level 1 headers initialization
	headerclass: "sub1expandable", //Shared CSS class name of sub headers group that are expandable
	contentclass: "sub1categoryitems", //Shared CSS class name of sub contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["opensub1header", "closedsub1header"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["none", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})


ddaccordion.init({ //Level 2 headers initialization
	headerclass: "sub2expandable", //Shared CSS class name of sub headers group that are expandable
	contentclass: "sub2categoryitems", //Shared CSS class name of sub contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["opensub2header", "closedsub2header"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["none", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})


ddaccordion.init({ //Level 3 headers initialization
	headerclass: "sub3expandable", //Shared CSS class name of sub headers group that are expandable
	contentclass: "sub3categoryitems", //Shared CSS class name of sub contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["opensub3header", "closedsub3header"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["none", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})



ddaccordion.init({ //Level 4 headers initialization
	headerclass: "sub4expandable", //Shared CSS class name of sub headers group that are expandable
	contentclass: "sub4categoryitems", //Shared CSS class name of sub contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["opensub4header", "closedsub4header"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["none", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})



ddaccordion.init({ //Level 5 headers initialization
	headerclass: "sub5expandable", //Shared CSS class name of sub headers group that are expandable
	contentclass: "sub5categoryitems", //Shared CSS class name of sub contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["opensub5header", "closedsub5header"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["none", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})


</script>




<script language="javascript" type="text/javascript">

function onMenuClick(menuItem)
{
	var linkArray = document.getElementsByTagName('A');

	var i = 0;
	
	for (i=0; i < linkArray.length; i++)
	{
		if (linkArray[i].className == 'selected')
			linkArray[i].className = '';
	}

	menuItem.className = 'selected';

}



</script>


<style type="text/css"> 
	.arrowlistmenu{ width: 200px; /*width of accordion menu*/ /*border: 1px solid; padding: 5px 5px 5px 5px*/margin-bottom:10px;padding-bottom:10px;}
	.arrowlistmenu .menuheader{ /*CSS class for menu headers in general (expanding or not!)*/ font: bold 14px Arial; color: white; background: red url(../images/menu_bg.gif) repeat-x center left*/; margin-bottom: 10px; /*bottom spacing between header and rest of content*/ text-transform: uppercase; padding: 4px 0 4px 10px; /*header text is indented 10px*/ cursor: hand; cursor: pointer; margin-bottom:-7px;}
	.arrowlistmenu .openheader{ /*CSS class to apply to expandable header when it's expanded*/ /*background-image: url(titlebar-active.png);*/ margin-bottom:5px;}
	.arrowlistmenu ul{ /*CSS for UL of each sub menu*/ list-style-type: none; margin: 0; padding: 0; margin-bottom: 0px; /*bottom spacing between each UL and rest of content*/ }

	.arrowlistmenu ul li{ padding-bottom: 2px; font: 12px Arial;/*bottom spacing between menu items*/ background-color: #FFFFFF;}
	.arrowlistmenu ul li a{ padding-bottom: 2px; color: #000000; font: 12px Arial;/*background: url(arrowbullet.png) no-repeat center left;*/ /*custom bullet list image*/ display: block; padding: 2px 0; padding-left: 19px; /*link text is indented 19px*/ text-decoration: none; border-bottom: 1px solid #dadada; }

	.arrowlistmenu ul li a:visited{ color: #000000; }
	.arrowlistmenu ul li a:hover{ /*hover state CSS*/ background-color: #73C4FF; }
	.arrowlistmenu ul li .selected{ /*hover state CSS*/ background-color: #73C4FF; }

	.arrowlistmenu ul li a.sub1expandable{{ /*hover state CSS for sub menu header*/ background: lightblue; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li a.sub1expandable:hover{{ /*hover state CSS for sub menu header*/ background: lightblue; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li .opensub1header{{ /*Open state CSS for sub menu header*/ background: lightblue !important; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li .closedsub1header{{ /*Closed state CSS for sub menu header*/ background: lightblue !important; background: url(arrowbullet.png) no-repeat center left;}}

	.arrowlistmenu ul li a.sub2expandable{{ /*hover state CSS for sub menu header*/ background: lightblue; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li a.sub2expandable:hover{{ /*hover state CSS for sub menu header*/ background: lightblue; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li .opensub2header{{ /*Open state CSS for sub menu header*/ background: lightblue !important; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li .closedsub2header{{ /*Closed state CSS for sub menu header*/ background: lightblue !important; background: url(arrowbullet.png) no-repeat center left;}}

	.arrowlistmenu ul li a.sub3expandable{{ /*hover state CSS for sub menu header*/ background: lightblue; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li a.sub3expandable:hover{{ /*hover state CSS for sub menu header*/ background: lightblue; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li .opensub3header{{ /*Open state CSS for sub menu header*/ background: lightblue !important; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li .closedsub3header{{ /*Closed state CSS for sub menu header*/ background: lightgreen !important; background: url(arrowbullet.png) no-repeat center left;}}

	.arrowlistmenu ul li a.sub4expandable{{ /*hover state CSS for sub menu header*/ background: lightblue; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li a.sub4expandable:hover{{ /*hover state CSS for sub menu header*/ background: lightblue; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li .opensub4header{{ /*Open state CSS for sub menu header*/ background: lightblue !important; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li .closedsub4header{{ /*Closed state CSS for sub menu header*/ background: lightgreen !important; background: url(arrowbullet.png) no-repeat center left;}}

	.arrowlistmenu ul li a.sub5expandable{{ /*hover state CSS for sub menu header*/ background: lightblue; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li a.sub5expandable:hover{{ /*hover state CSS for sub menu header*/ background: lightblue; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li .opensub5header{{ /*Open state CSS for sub menu header*/ background: lightblue !important; background: url(arrowbullet.png) no-repeat center left;}}
	.arrowlistmenu ul li .closedsub5header{{ /*Closed state CSS for sub menu header*/ background: lightgreen !important; background: url(arrowbullet.png) no-repeat center left;}}
</style>

</HEAD>
